<?php

include 'phpQuery.php';

phpQuery::newDocumentFile('http://fly.layui.com/');

$data = pq(".fly-list li h2 a:not(.layui-badge)");

foreach ($data as $row) {
	var_dump($row->nodeValue);
}

// $data = pq(".cities a")->html();

// var_dump($data);